<?php 
    // 数量
    header("Content-type:text/html;charset=utf-8");
	$name = $_GET["clientName"];
	$id = $_GET["goodsId"];
    $sum = $_GET["goodsSum"];
	// 连接数据库
	$conn = mysql_connect("localhost","root","root");
    mysql_select_db("test");
	mysql_query("update client_goods set goods_sum = $sum where client_name = $name and goods_id = $id",$conn);
	echo $name.$id.$sum;
	mysql_close($conn);
?>